export interface IArticle {
  id: string;
  title: string;
  liked: number;
  views: number;
  introduce: string;
  createdAt: string;
  updatedAt: string;
  cover: {
    id: string;
    path: string;
  };
  category: {
    id: string;
    name: string;
  };
}

export interface IArticleDetail extends IArticle {
  content: string;
  tags: string[];
}

export interface IArticleCategory {
  id: string;
  name: string;
  createdAt: string;
  updatedAt: string;
}
